gsk: Check for NULL in calls to gsk_cairo_node_get_surface()
authorBenjamin Otte <otte@redhat.com>
Thu, 15 Dec 2016 09:08:46 +0000 (10:08 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 20 Dec 2016 17:01:11 +0000 (18:01 +0100)
commit3ef03c8bc0bed418406418127061ffc489aa938e
treea6b9c5ebc1202f2785f51d4760a437168090c8f5
parente8cd71228ad47b241ac43d0b9754d57615f28fff
gsk: Check for NULL in calls to gsk_cairo_node_get_surface()

That function does actually sometimes return NULL and is documented to
do so, so handle that case in the renderers (by omitting the node).
gsk/gskglrenderer.c
gsk/gskvulkanrenderpass.c